/*
UInt="UInt";
SInt="SInt";
Enum="Enum List";
String="String";
DosName="DosName";
Fixed ="Fixed";
BitMask="BitMask";

Hex="Hex";						// added type so output can be displayed easier
EnumHex="Enum List Hex";		// only case so far is "flty", the file type

*/
/* Note that types EnumHex, Fixed, BitMask, Hex
 * are types are are best displayed in hexadecimal notation
 */
 
PName="PName";

var f220 = new Array();
var f260 = new Array();
var fminolta  = new Array();

function filetag(param,desc,type)
{

	this.param 	= param;
	this.desc	= desc;
	this.type	= type;

	return this;
}
//	Image File Tags For DC260 Verson 1.0.0								

//	Tag	Description	DataType	Content	Notes				
f260[1]=new filetag('"aagc"','"Analog Gain Value"',UInt);				
f260[2]=new filetag('"bsfd"','"Image Group Folder"', DosName	);				
f260[3]=new filetag('"ccsv"','"Camera Firmware Version"',UInt);		
f260[4]=new filetag('"clos"','"Cloest Subject Distance"',UInt);
f260[5]=new filetag('"cmpn"','"Image Compression Level"',UInt);


f260[6]=new filetag('"cmrc"','"Camera Region Code"',UInt);			
f260[7]=new filetag('"date"','"Image Capture Date"',UInt);			
f260[8]=new filetag('"eval"','"Exposure Value"',UInt);			
f260[9]=new filetag('"exht"','"Extracted Image Height"',UInt);					
f260[10]=new filetag('"exwd"','"Extracted Image Width"',UInt);				
f260[11]=new filetag('"fars"','"Farthest Subject Distance"',UInt);			
f260[12]=new filetag('"fdst"','"Focus Distance"',UInt);				
f260[13]=new filetag('"fmod"','"Focus Mode"',UInt);		
f260[14]=new filetag('"fmtd"','"Focus Method"',UInt);			
f260[15]=new filetag('"fnum"','"F number"',UInt);			
f260[16]=new filetag('"fwrv"','"Digita Firmware Version"',UInt);		
f260[17]=new filetag('"grct"','"Image Group Sequence Number"',UInt);				
f260[18]=new filetag('"grd1"','"Image Group Data 1"',UInt);				
f260[19]=new filetag('"grd2"','"Image Group Data 2"',UInt);				
f260[20]=new filetag('"grd3"','"Image Group Data 3"',UInt);				
f260[21]=new filetag('"grd4"','"Image Group Data 4"',UInt);			
f260[22]=new filetag('"grfd"','"Capture Group Folder Name"',DosName);			
f260[23]=new filetag('"grtg"','"Image Group Tag"',PName);				
f260[24]=new filetag('"hint"','"Image Hint Mode"',UInt);			
f260[25]=new filetag('"imcn"','"Image File Type"',PName);				
f260[26]=new filetag('"imfg"','"Image Flag"',UInt);				
f260[27]=new filetag('"imht"','"Image Height"',UInt);					
f260[28]=new filetag('"imis"','"Image Info Size"',UInt);		
f260[29]=new filetag('"imiv"','"Image Info Version"',UInt);			
f260[30]=new filetag('"impn"','"Image Color Depth"',UInt);			
f260[31]=new filetag('"imwd"','"Image Width"',UInt);					
f260[32]=new filetag('"lkmd"','"AE/AF Lock Mode"',UInt);				
f260[33]=new filetag('"ortn"','"Capture Orientation"',UInt);				
f260[34]=new filetag('"pgms"','"Program Shift"',SInt);			
f260[35]=new filetag('"ptid"','"Product Name"',aString);					
f260[36]=new filetag('"scmp"','"Strobe Compensation"',SInt);				
f260[37]=new filetag('"scom"','"Sound Compression Type"',UInt);				
f260[38]=new filetag('"sdsr"','"Sound Sampling Rate"',UInt);				
f260[39]=new filetag('"sdss"','"Sound Sampling Size"',UInt);				
f260[40]=new filetag('"sern"','"Serial Number"',UInt);					
f260[41]=new filetag('"shpn"','"Sharpening Level"',UInt);			
f260[42]=new filetag('"shut"','"Shutter Speed"',UInt);
				
f260[43]=new filetag('"smod"','"Strobe Mode"',UInt);		
f260[44]=new filetag('"spre"','"Strobe Precount"',UInt);			
f260[45]=new filetag('"time"','"Image Capture Time"',UInt);				
f260[46]=new filetag('"ucnr"','"User Caption Region Code"',UInt);				
f260[47]=new filetag('"ucnt"','"User Caption Text"',aString	);				
f260[48]=new filetag('"ucpt"','"User Copyright Notice"',aString	);			
f260[49]=new filetag('"ucrc"','"User Copyright Region Code	"',UInt);		
f260[50]=new filetag('"uc01"','"User Category 01"',DosName);		
f260[51]=new filetag('"uc02"','"User Category 02"',DosName	);	
f260[52]=new filetag('"uc03"','"User Category 03"',DosName	);		
f260[53]=new filetag('"uc04"','"User Category 04"',DosName	);		
f260[54]=new filetag('"uc05"','"User Category 05"',DosName	);			
f260[55]=new filetag('"uc06"','"User Category 06"',DosName	);			
f260[56]=new filetag('"uc07"','"User Category 07"',DosName	);			
f260[57]=new filetag('"uc08"','"User Category 08"',DosName	);				
f260[58]=new filetag('"uc09"','"User Category 09"',DosName	);				
f260[59]=new filetag('"uc10"','"User Category 10"',DosName	);				
f260[60]=new filetag('"uc11"','"User Category 11"',DosName	);				
f260[61]=new filetag('"uc12"','"User Category 12"',DosName	);				
f260[62]=new filetag('"uc13"','"User Category 13"',DosName	);
f260[63]=new filetag('"uc14"','"User Category 14"',DosName	);	
f260[64]=new filetag('"uc15"','"User Category 15"',DosName	);	
f260[65]=new filetag('"uc16"','"User Category 16"',DosName	);	
f260[66]=new filetag('"udt1"','"User Data 1"',UInt);		
f260[67]=new filetag('"udt2"','"User Data 2"',UInt);		
f260[68]=new filetag('"udt3"','"User Data 3"',UInt);	
f260[69]=new filetag('"udt4"','"User Data 4"',UInt);	
f260[70]=new filetag('"udt5"','"User Data 5"',UInt);	
f260[71]=new filetag('"udt6"','"User Data 6"',UInt);	
f260[72]=new filetag('"udt7"','"User Data 7"',UInt);		
f260[73]=new filetag('"udt8"','"User Data 8"',UInt);	
f260[74]=new filetag('"uptd"','"User Protected	"',UInt);
f260[75]=new filetag('"ur01"','"User Category 01 Region Code"',UInt);
f260[76]=new filetag('"ur02"','"User Category 02 Region Code"',UInt);	
f260[77]=new filetag('"ur03"','"User Category 03 Region Code"',UInt);
f260[78]=new filetag('"ur04"','"User Category 04 Region Code"',UInt);	
f260[79]=new filetag('"ur05"','"User Category 05 Region Code"',UInt);	
f260[80]=new filetag('"ur06"','"User Category 06 Region Code"',UInt);
f260[81]=new filetag('"ur07"','"User Category 07 Region Code"',UInt);
f260[82]=new filetag('"ur08"','"User Category 08 Region Code"',UInt);	
f260[83]=new filetag('"ur09"','"User Category 09 Region Code"',UInt);
f260[84]=new filetag('"ur10"','"User Category 10 Region Code"',UInt);
f260[85]=new filetag('"ur11"','"User Category 11 Region Code"',UInt);
f260[86]=new filetag('"ur12"','"User Category 12 Region Code"',UInt);
f260[87]=new filetag('"ur13"','"User Category 13 Region Code"',UInt);
f260[88]=new filetag('"ur14"','"User Category 14 Region Code"',UInt);
f260[89]=new filetag('"ur15"','"User Category 15 Region Code"',UInt);
f260[90]=new filetag('"ur16"','"User Category 16 Region Code"',UInt);
f260[91]=new filetag('"usr1"','"User String 1 Region Code"',UInt);
f260[92]=new filetag('"usr2"','"User String 2 Region Code"',UInt);
f260[93]=new filetag('"usr3"','"User String 3 Region Code"',UInt);	
f260[94]=new filetag('"usr4"','"User String 4 Region Code"',UInt);
f260[95]=new filetag('"ust1"','"User String 1"',aString);
f260[96]=new filetag('"ust2"','"User String 2"',aString);	
f260[97]=new filetag('"ust3"','"User String 3"',aString);	
f260[98]=new filetag('"ust4"','"User String 4"',aString);
f260[99]=new filetag('"utag"','"User Tag"',PName);		
f260[100]=new filetag('"vdid"','"Vendor Name"',aString);	
f260[101]=new filetag('"vd01"','"Vendor Data 1"',UInt);		
f260[102]=new filetag('"vd02"','"Vendor Data 2"',UInt);		
f260[103]=new filetag('"vd03"','"Vendor Data 3"',UInt);		
f260[104]=new filetag('"vd04"','"Vendor Data 4"',UInt);		
f260[105]=new filetag('"wbcb"','"White Balance Blue"',	Fixed);		
f260[106]=new filetag('"wbcg"','"White Balance Green"',	Fixed);		
f260[107]=new filetag('"wbcr"','"White Balance Red"',	Fixed);		
f260[108]=new filetag('"wmod"','"White Balance Mode"',UInt);	
f260[109]=new filetag('"wmrc"','"Watermark Region Code"',UInt);
f260[110]=new filetag('"wstr"','"Watermark Text"',aString);	
f260[111]=new filetag('"xcmp"','"Exposure Compenstation"',SInt);	
	
f260[112]=new filetag('"xmod"','"Exposure Mode"',UInt);	
f260[113]=new filetag('"xmtd"','"Exposure Method"',UInt);	
f260[114]=new filetag('"zpos"','"Zoom Position"',UInt);		
						
						
						
						
						
						
						
						
						
						
						
						
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
